package com.hxzy.module.store.service;

import com.github.pagehelper.PageInfo;
import com.hxzy.module.store.api.store.req.StoreReq;
import com.hxzy.module.store.api.store.resp.StoreResp;
import com.hxzy.module.store.entity.Store;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 11452
* @description 针对表【store(门店表)】的数据库操作Service
* @createDate 2024-01-24 14:23:29
*/
public interface StoreService extends IService<Store> {

    /**
     * 门店列表
     * @param req
     * @return
     */
    PageInfo<StoreResp> storeList(StoreReq req);

    /**
     * 根据storeId查询数据
     * @param storeId
     * @param merchantId
     * @return
     */
    StoreResp findByStoreId(Long storeId, long merchantId);
}
